package com.zlsy.springbootdemo.state.demo3;

/**
 * @author zhouliang
 * @date 2021/1/23 13:26
 */
public abstract class RewardState {
  private RewardStateContext rewardStateContext;

  abstract void doReward(RewardStateContext context, Request request);

  public RewardStateContext getRewardStateContext() {
    return rewardStateContext;
  }

  public void setRewardStateContext(RewardStateContext rewardStateContext) {
    this.rewardStateContext = rewardStateContext;
  }
}
